<?php

class Administration_Model_Teams extends Ehl_Model_Abstract
{
	protected $id; 
    protected $name; 
    protected $logo; 
    protected $title; 
    protected $creationUser; 
    protected $creationDate;
    
    public function logoForScore() {
    	$logo = $this->getLogo();
    	if ( $logo == "" ) {
    		$logo = "/images/teams/logos/nologo.png";
    	} else {
    		$logo = "/images/teams/logos/$logo";
    	}
    	return $logo;
    }
    
    public function logoHeight() {
    	$logo = $this->getLogo();
    	if ( $logo == "" ) {
    		$height = "";
    	} else {
    		$height = "53";
    	}
    	return $height;
    }
}
